<template>
  <div class="label-item">
    <span class="label">{{label}}</span>
    <span class="text">{{text || 0}}</span>
  </div>
</template>
<script>
export default {
  props:{
    label: [String,Number],
    text: [String,Number]
  }
}
</script>
<style lang="less" scoped>
.label-item{
  color: #3A3874;
  font-family: PingFangSC-Regular, PingFang SC;
  .label{
    font-size: 14px;
    margin-right: 5px;
    &::after{
      content: ':'
    }
  }
  .text{
    font-size: 18px;
  }
}
</style>